import { useParams } from "react-router-dom"

const Article = () => {
    // const [params] = useSearchParams()
    const params = useParams()
    // return <div>文章页：{params.get('name')}</div>
    return <div>文章页：{params.name}{params.id}</div>
}
export default Article
